# !/usr/bin/env python
# encoding: utf-8


"""
  @author: gaogao
  @file: get_equipment_list.py
  @time: 2022/7/31 17:25
  @desc:
"""
from configparser import ConfigParser


def get_equipment_address():
    config = ConfigParser()
    config.read(r"static\instrument_address.ini", encoding="utf-8")
    section_list = config.sections()
    equipment_name_address_list = []
    for section in section_list:
        equipment_name_address_list.append(config.items(section)[0])
    return equipment_name_address_list
